package com.feilong.edgeAI.model;

/**
 * Created by【仿脑科技】
 *
 * @Author: potato
 * @CreateDate: 2024/1/3 15:59
 */
public class NoticeMsg {
    private String from;
    private String name;
    private String text;
    private String type;

    public NoticeMsg(String from, String name, String text) {
        this.from = from;
        this.name = name;
        this.text = text;
    }

    public NoticeMsg(String from, String name, String text, String type) {
        this.from = from;
        this.name = name;
        this.text = text;
        this.type = type;
    }

    public NoticeMsg() {
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    @Override
    public String toString() {
        return "NoticeMsg{" +
                "from='" + from + '\'' +
                ", name='" + name + '\'' +
                ", text='" + text + '\'' +
                ", type='" + type + '\'' +
                '}';
    }
}
